package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;



@TableName("shiyongshouce")
public class ShiyongshouceEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ShiyongshouceEntity() {
		
	}
	
	public ShiyongshouceEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	

    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 设备名称
	 */
					
	private String shebeimingcheng;
	
	/**
	 * 设备分类
	 */
					
	private String shebeifenlei;
	
	/**
	 * 手册封面
	 */
					
	private String shoucefengmian;
	
	/**
	 * 手册文件
	 */
					
	private String shoucewenjian;
	
	/**
	 * 手册说明
	 */
					
	private String shouceshuoming;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：设备名称
	 */
	public void setShebeimingcheng(String shebeimingcheng) {
		this.shebeimingcheng = shebeimingcheng;
	}
	/**
	 * 获取：设备名称
	 */
	public String getShebeimingcheng() {
		return shebeimingcheng;
	}
	/**
	 * 设置：设备分类
	 */
	public void setShebeifenlei(String shebeifenlei) {
		this.shebeifenlei = shebeifenlei;
	}
	/**
	 * 获取：设备分类
	 */
	public String getShebeifenlei() {
		return shebeifenlei;
	}
	/**
	 * 设置：手册封面
	 */
	public void setShoucefengmian(String shoucefengmian) {
		this.shoucefengmian = shoucefengmian;
	}
	/**
	 * 获取：手册封面
	 */
	public String getShoucefengmian() {
		return shoucefengmian;
	}
	/**
	 * 设置：手册文件
	 */
	public void setShoucewenjian(String shoucewenjian) {
		this.shoucewenjian = shoucewenjian;
	}
	/**
	 * 获取：手册文件
	 */
	public String getShoucewenjian() {
		return shoucewenjian;
	}
	/**
	 * 设置：手册说明
	 */
	public void setShouceshuoming(String shouceshuoming) {
		this.shouceshuoming = shouceshuoming;
	}
	/**
	 * 获取：手册说明
	 */
	public String getShouceshuoming() {
		return shouceshuoming;
	}

}
